import layout from '@/layout'
export default {
  path: '/role',
  component: layout,
  // children: [
  //   {
  //     path: '', // 默认子路由,只能有一个
  //     component: () => import('@/views/role'),
  meta: {
    // 路由元信息，存储数据
    title: '员工管理',
    icon: 'staff'
  },
  children: [
    {
      path: 'employeemanage', // 默认子路由,只能有一个
      component: () => import('@/views/role/employeemanage'),
      meta: { title: '快递员管理' }
    },
    {
      path: 'drivermanage', // 默认子路由,只能有一个
      component: () => import('@/views/role/drivermanage'),
      meta: { title: '司机列表' }
    },
    {
      path: 'classmanage', // 默认子路由,只能有一个
      component: () => import('@/views/role/classmanage'),
      meta: { title: '排班登记' }
    }
  ]
}
//   ]
// }
